home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2006 October / wn148cd2.iso / Windows / Se divertir / MediaPortal / Setup.msi / _89D652C6F4C5CB6EFB7B225B3B3ACD05 / _520A92978C3D4A1C9691BFEB645384F6 < prev    next >
Extensible Markup Language  |  2005-06-12  |  3KB  |  57 lines

  1. <?xml version="1.0" standalone="yes"?>
  2. <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  3.   <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:Locale="en-GB">
  4.     <xs:complexType>
  5.       <xs:choice maxOccurs="unbounded">
  6.         <xs:element name="RemoteControl">
  7.           <xs:complexType>
  8.             <xs:sequence>
  9.               <xs:element name="RemoteID" msdata:AutoIncrement="true" type="xs:int" />
  10.               <xs:element name="RemoteName" type="xs:string" />
  11.               <xs:element name="RemoteActive" type="xs:boolean" minOccurs="0" />
  12.             </xs:sequence>
  13.           </xs:complexType>
  14.         </xs:element>
  15.         <xs:element name="RemoteControlKeys">
  16.           <xs:complexType>
  17.             <xs:sequence>
  18.               <xs:element name="RemoteID" type="xs:int" />
  19.               <xs:element name="KeyCode" type="xs:int" />
  20.               <xs:element name="ActionType" type="xs:string" minOccurs="0" />
  21.               <xs:element name="ActionName" type="xs:string" minOccurs="0" />
  22.               <xs:element name="Key_Value" minOccurs="0">
  23.                 <xs:simpleType>
  24.                   <xs:restriction base="xs:string">
  25.                     <xs:length value="1" />
  26.                   </xs:restriction>
  27.                 </xs:simpleType>
  28.               </xs:element>
  29.               <xs:element name="Key_Code" type="xs:string" minOccurs="0" />
  30.               <xs:element name="DestinationWindow" type="xs:string" minOccurs="0" />
  31.               <xs:element name="cSharpCode" type="xs:string" minOccurs="0" />
  32.               <xs:element name="keyDescription" type="xs:string" minOccurs="0" />
  33.               <xs:element name="Enabled" type="xs:boolean" minOccurs="0" />
  34.             </xs:sequence>
  35.           </xs:complexType>
  36.         </xs:element>
  37.       </xs:choice>
  38.     </xs:complexType>
  39.     <xs:unique name="Constraint1">
  40.       <xs:selector xpath=".//RemoteControl" />
  41.       <xs:field xpath="RemoteID" />
  42.     </xs:unique>
  43.     <xs:unique name="Constraint2" msdata:PrimaryKey="true">
  44.       <xs:selector xpath=".//RemoteControl" />
  45.       <xs:field xpath="RemoteName" />
  46.     </xs:unique>
  47.     <xs:unique name="RemoteControlKeys_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  48.       <xs:selector xpath=".//RemoteControlKeys" />
  49.       <xs:field xpath="RemoteID" />
  50.       <xs:field xpath="KeyCode" />
  51.     </xs:unique>
  52.     <xs:keyref name="Relation1" refer="Constraint1" msdata:RelationName="Relation_RemoteID">
  53.       <xs:selector xpath=".//RemoteControlKeys" />
  54.       <xs:field xpath="RemoteID" />
  55.     </xs:keyref>
  56.   </xs:element>
  57. </xs:schema>